﻿@model IEnumerable<MegaBitProject.Models.UserProfile>

@{
    ViewBag.Title = "Admin";
}
<table id="adminTable">
    <tr>
        <th>Username</th>
        <th>Edit / Deleted</th>
    </tr>
    @foreach(var user in Model)
    {
        <tr>
            <td>@Html.ActionLink(user.UserName, "UserProfile/" + user.UserName, "Account")</td>
            <td><a href="#">Delete</a></td>
        </tr>
    }
</table>